031 move fill move and block move instructions

在本视频中,您将了解搬迁操作和七千二百人。
In this video you will understand the move operations and seven twelve hundred people.

因此,我们的磨损非常小,这是典型的磨损最多的情况。
So we have very small abrasion that typical of those are most.

这是一个简单的移动操作,如果您想移动一组信息而不仅仅是一个信息,我们有更多的块,那么您可以在两个输入之间交换信息。
Is a simple move operation and we have more block if you want to move a block of information not just one information then you have a swap to swap information between two inputs.

好的。
OK.

那么让我们看看这个移动操作如何运作并保持健康。
So let's see how this move operation works and be healthy.

让我们从基本的移动指令开始。
So let's start with the basic move instruction.

它是移动指令将数据从输入指定的源复制到输出指定的目的地的单个Dowdle数据和人类。
It's is the move instruction copies the data a single Dowdle casing data and human from source specified by input to the destination specified by the output.

好的,如果你看到这个移动块,我们就有了这个输入。
OK so if you see this move block we have this input.

这是我的来源,这是输出。
This is my source and this is the output.

这是我的目的地,我们有一把启用的锁。
This is my destination and we have an enabled lock.

因此,当您有脉冲和输入或输入端有信号时,将启用此移动块。
So this move block will be enable when you have a pulse and input or when you have the signal at the input.

现在我们在输入中提到了 M.W.
Now what we have are in the input we have mention M.W.

10 为数据灾难无效,值为 124。
10 which is a data disaster void in which the value is 124.

这是舷外机 M.W.
And this is the outboard M.W.

到目前为止,trail 为零,因为尚未启用此功能。
trail which is zero as of now because this is not enabled.

所以我想通过向 0.0.0 发出信号来启用此功能。
So I want to enable this by giving a signal to 0.0.

这将非常容易地将值从该输入复制到输出。
This will copy the value from this input to the output pretty easy.

好的,这就是复制的。
OK so this is copied.

它不会剪切和粘贴,而是复制并移动到此处。
It will not cut and paste it will be copy and move to here.

好的,所以该值将保留在输入中。
OK so the value will remain in the input.

现在,此状态表明您可以进入多个输出,因此您可以在此处添加更多输出,并且您可以将更多单个输出添加到所有这些输出。
And now this status indicates that you can move in to multiple outputs so you can add more outputs here and you can more of you can more single output to all these outputs.

好的,我们可以移动多极,您可以将更多单一信息传输到多个输出。
OK so we can move multipole you can more single information to multiple outputs.

如果你在这里放置更多的输出,那么这就是我们在这一行动中所拥有的设施。
If you put more outputs here so that is the facility we have in this move.

阻止确定。
BLOCK OK.

这是一个简单的指令。
So this is a simple instruction.

请记住,它只是复制单个数据。
Remember it's only copy single data.

因此,如果我们想复制多个数据,我们就有更多的块构造。
So if we want to copy multiple data for that we have more block construction.

好的。
OK.

为了复制多个数据,我们的图像计数错误。
And to copy multiple data we have a bad image count.

它说代码指定复制多少数据元素。
It says the code specify how many data elements are copied.

好的。
OK.

因此,如果您想知道如何在数据中指定该代码,以便最终达到 10。
So if you are wondering how you will specify that code in a data in so that end up to 10.

所以在这种情况下我们不会采取 N.W.T.
So in that case we will not take N.W.T.

为零或任何其他数据类型。
in or be zero or any other data type.

在这种情况下,我们将获取一个 ID,并定义 Inari,然后选择您要移动的块。
In that case we will take an ID and we will define Inari and we will select which block of any you want to move.

让我们举个例子。
Let's take an example.

这是一个移动博客建设。
This is a move blog construction.

我们这里有一个输入,由块一的下划线一和三指定。
We have an input here which is specified by block one at a underscore one and three.

这是三的索引。
This is the index of three.

这就是计数。
And that's the count.

好的。
OK.

因此,这是计算您要复制多少个 dadah(指定 Phyfe)。
So this is a count how many dadah you want to copy it specify Phyfe.

所以从 3 索引开始的 5 达达将是三四五六七。
So 5 dadah starting from 3 index it will be three four five six seven.

这将被复制到您的输出 Ari,另一个 Arrey 起始索引是 5。
That will be copied to your output Ari another Arrey starting index is five.

好的。
OK.

让我们看一个图来解释这里发生的事情。
So let's see a figure which would explain what is happening here.

因此,如果启用此功能,将会发生什么情况,从 3 开始的值,这个值以及多少个值 5。
So if this is enable what will happen the value starting from 3 this value this value and how many values 5.

所以这是一二三四五。
So this is one two three four five.

该值将被复制到块 2。
This value will be copied to block 2.

除此之外,我的态度是从索引 5 开始,一直到 5。
Added to this is my attitude starting from index 5 starting from here up to 5.

所以你会看到这个值 3 4 5 6 7 被复制到这里。
So you see this value 3 4 5 6 7 is copied here.

这些是我的索引的其他值,这是另一个。
And these are the other values of my index this is another.

好的,如果您想将值 sideling 从此处复制到此处直至 7,您可以在此处指定 0,然后我们在该 7 上进行设置。
OK so if you want to copy the value sideling from here up to here up to 7 you specify 0 here and you we make on that 7.

好的,如果您只想复制这两个值 0 和 1,甚至可以在此处指定 0,然后指定一个变量作为该值。
OK if you just want to copy these two values 0 and 1 even specify 0 here and right on that's to and specify a variable to be the value.

这样指定起始地址就OK了。
OK so the specified starting address.

所以如果你想把头发的前两个值复制到最满的值即可。
So if you want to copy the first two values from hair to the fullest value to.

在这里,您有理由看到这里的两个和这里的零。
Here you are justified seeto here two and here Zero.

我将直接从来源和目的地复制给您。
I will just copy to you from source and destination.

好的,我在一个示例中展示了如何复制价值系统。
OK I was showing in an example how the value system is being copied.

我们将在稍后的练习中看到这一点。
We'll see that in the exercise later on.

所以这是最块状的构造。
So this was the most block construction.

好的。
OK.

所以接下来这个 Phil 块构造下降块构造非常容易类似于块构造。
So next this Phil block construction fell block construction is very easy similar to block construction.

但在这种情况下,我们只用常数 R-VA 填充山谷,然后再填充任何输入。
But in this case we are only filling the valley with the constant R-VA then any input.

好的。
OK.

例如,如果你看到这个失败块,我们有一个输入值,我将其作为常数 45。
So for example if you see this fail block we have an input value which I took as a constant 45.

我数到了五。
I have a count five.

然后我就没有输出了。
And then I have no output.

那么如果我执行这条指令会发生什么。
So what will happen if I execute this instruction.

这将从索引开始复制四十五和五个块。
This will copy forty five and five blocks starting from the index to.

所以从这里开始你可以看到这是。
So starting from here you can see this is.

A 值 45 最多 5 个索引 最多 6 从 2 到 6。
A The value 45 up to 5 indexes up to 6 from 2 to 6.

这样会更多。
This will more.

这是 1 2 3 4 5,因为计数是 5。
This is 1 2 3 4 5 because the count is 5.

好的。
OK.

所以这是指令。
So this is instruction.

如果你只想在一个块中填充一个常量值到 5,那么你可以使用 fill 指令。
If you just want to fill a constant value to 5 at a block so you can use fill instruction.

好的,接下来我们有交换指令,现在交换。
OK now next we have swap instruction now swap.

它的含义是,如果您想交换 的值,那么您可以使用五个插入来更改输入中的顺序并查询输出中的结果,以下视频显示了如何保存所有这些操作。
Its meaning is if you want to interchange the value of would say is the fact that you can use a five insertion to change the order of in an input and query the result in the output the following video shows how to hold all this operate.

让我们举个例子。
So let's take an example.

我们有一美元是零,我们有这个值,以便从 8 32 位开始。
We have a dollar is a zero and we have this value in order to start starting with this is 8 32 bits OK.

如果在这个数据块中执行交换指令会发生什么。
If you execute swap instruction in this data block what will happen.

这是值得娱乐的各个字节。
It's it's individual bytes to be entertained.

因此,如果你注意到这四个人来到这里,三个人来到这里,一个人来到这里。
So if you notice this four comes here three comes here to come to and one comes here.

这就是使用交换指令改变音量的方法。
That's how it is change the volume using a swap instruction.

好的,让我们看一个交换的例子。
OK so let's see an example of swap.

所以它保存了 0 的值并将其存储到 M.W.
So it saves the value of 0 and stored it into M.W.

10.

10.

好的。
OK.

这是我的交换块。
So this is my swap block.

这是我的启用。
This is my enable.

我们每个街区都有一封电子邮件。
We have an e-mail on this every block.

这就是我的意见。
So that's my input.

MW

M.W.

零,其中我有地址,我已将七 F 贬值。
zero in which I have the address I have de-value seven F.

以十六进制表示。
in hexadecimal.

好的。
OK.

我的输出是 M.W.
And my output is M.W.

最初为零。
down which is initially zero.

那么,如果我可以交换我的隔离交换,即使是 Lauder 的交换,那么最后 16 位值来到这里,16 位值来到这里,这是一个很好的交换。
So what will happen if I could swap my secluding swap even Lauder's this be a so this last 16 bit value comes here and the 16 bit value comes here this good interchange.

好吧,这就是 silap 的工作原理。
OK that's how silap works.

所以如果你看到这就是这里的值。
So if you see this is the value here.

现在我已将该值分解为二进制。
Now I have break down this value into binary.

所以 7 是 0 1 1 1 0 1 1 1 1 B 是 1 0 1 1 1 0 1 0。
So the 7 is 0 1 1 1 0 1 1 1 1 B is 1 0 1 1 1 0 1 0.

这就是 M.W.
So this is M.W.

打之前0。
0 before slapping.

所以有一次我们交换了 M.W. 的输出。
So once once we swapped that the output of M.W.

这就是系统。
This is the system.

然后B就来了。
And then it goes B comes.

来了来了来了。
Here comes here comes here.

所以这当然在这里,七个在这里,这就是购物的方式。
So this of course here and seven goes here that's how shopping is done.

好的。
All right.

所以现在是练习的时候了。
So now it's time for the exercise.

它说创建一个小对象,每隔十秒不断地将数据从一个块更新到另一个块。
It says make a little object to continuously update the data from one block to another block after every ten seconds.

因此,假设您正在备份数据,并且每 10 秒后您希望将数据从源移动到某个目标电阻器,并且您每 10 秒后使用该电阻器评估某些内容以形成逻辑。
So suppose you're doing a backup of data and after every 10 seconds you want to move the data from source to some destination resistor and you're using that resistor to evaluate something after every 10 seconds to make a logic.

在这种情况下,我们必须首先定义 10 秒逻辑。
In that case we have to first define a 10 second logic.

我们最多需要一个脉冲,我们需要每 10 秒后出现一次脉冲。
We need a pulse here at most blague we need a pulse which will come after every 10 seconds.

好的。
OK.

这就是我们。
It is what we are.

我们需要一个小脉冲,每 10 秒后打开一次,以便启用移动块。
We need a small pulse here which we'll be on after every 10 seconds so that the move blocks will be enabled.

我们不希望连续移动数据,但希望每 10 秒移动一次。
We don't want continuously moving of data but we want effort every 10 seconds.

这只是为了让事情变得非常复杂。
This is just to make a really complex.

因此,我们使用计时器逻辑每 10 秒创建一次脉冲。
So what we have done we have used a timer logic to create pulse after every 10 seconds.

所以发生的情况是我的时间会被阻塞。
So what happens is that my time will block.

这是一个定时开关机,您可能会在我之前的讲座中度过一段愉快的时光。
It's it's an on timer and you might have a decent time in my previous lectures.

所以这里我有 BT S10 秒我的预设时间。
So here I have the BT S10 second my preset time.

这是输入,这里有一个关闭其自身定时器的常闭触点。
This is the input and here I have an NC contact of the off its own timer.

那么会发生什么。
So what will happen.

只不过是关门的时间而已。
It's only the time it is off.

好的。
OK.

当我开始运行这个程序时它就关闭了。
When I start running this program the time it is off.

这样就可以传递信号了。
So this will pass the signal.

因此,让我使用另一支笔,以便最好在其上传递信号,以便开始计算我在软件中咀嚼的时间。
So let me use another pen so best will pass the signal on it will start counting the time I was chewed that in the software.

因此,一旦达到 10 秒,它将打开,因为这是时间,我会将其打开到重置时间。
So once it goes to 10 seconds this will be open because this is the time and I'll put this get open to time to get reset.

因此,一旦计时器重置,它将返回关闭并重新开始。
So once the timer got reset this goes back to close and starts again.

因此,每 10 秒后,它会打开一段时间,因为在一切正常运行后,输出会打开一段时间。
So after every 10 seconds this open for a while because the output is on for a while after everything ticking.

我们在这里使用了相同的输出,但这里的地址是相同的。
And we have used the same output here but that's the same address here.

因此,Palace 会每 10 秒播放一次。
So this will be on after every 10 seconds for a moment for Palace.

这将启用移动块,并将值从添加一三索引五块复制到 8 到 5。
Which will enable the move block and which will copy the value from add a one three index five blocks to 8 to 5.

好的,这就是 FBD NADJI。
OK that's the equal FBD NADJI.

让我们看看它驻留在我们的软件中。
So let's see that reside in our software.

这和我为你制定的逻辑是一样的。
So that's the same logic I have made for you.

那么让我下载这个吧。
So let me download this OK.

如果您想知道如何点击如何创建博客爸爸。
If you are if you want to know how to click how to create a blog addy.

好的,让我解释一下。
OK so let me explain that.

我已经创建了两个块来创建它,但我确实又创建了一个块来进行解释,因为该部分没有被覆盖。
I have already created to create it two blocks but I did create one more for the explanation because that part was not covered.

我会去程序博客,然后添加新的块页面。
I would go to a program blog and I would go to add new block page.

一旦你去添加新博客,你就会找到这个选项。
Once you go to add new blog you will find this option.

所以我们将转到数据块。
So we'll go to a data block.

好的。
OK.

您将在数据博客中找到这些不同的选项。
And the data blog you will find these various options.

所以你不必对此做任何事情。
So you don't have to do anything with that.

你只要给出一个名字就可以了。
You just give a name.

在这种情况下,每天为它付出时间并给出一个名字。
In that case give every day for it and give a name.

好的。
OK.

但这是我要寻找的领域。
But this is my area to find.

现在,如果你看到我的这些街区,我有一个阁楼。
Now if you see my These blocks here I have an attic.

这里这是我们刚刚咬住的区域的数据类型,并添加了一个限制是0到10。
And here this is the data type of area we just bite and add a limit is zero to 10.

我已经在之前的块中指定了,所以我将转到这里,我将再次添加一项新的研究。
I have specified in my previous blocks so I will go here and I will add a new study again right very.

在这里,我将定义一个添加地板来隐藏类型,如下所示。
And here I will define an added a floor to hide type like this one.

如果您再次单击此处,您将找到我在字节上拥有的数据类型和 arii 的限制。
And if you click here again you're going to find a data type which I have on byte and the limit of arii.

哪个文件就可以了。
Which file take it does.

好的,我们就这样 10 单击“确定”。
OK let's take it 10 click OK.

所以我现在从0到10有一个10的广告。
So I have an ad of 10 now from 0 to 10.

好的。
OK.

这就是我在这里将 Ari 定义为 0 到 10 的方式。
So that's how I have define Ari here from 0 to 10.

还有一个在这里。
And another at here.

好的。
OK.

这样就已经添加了这就是创建编辑的方式。
So that has been added This is how you create an edit.

那么让我们回到主块。
So let's move back to main block.

所以你必须在这里写下你的爸爸。
So then you have to just write your addy here.

好的。
OK.

所以这是块 1 和 3。
So this is block 1 at 3.

因此,如果我愿意,我可以再次向您展示如何写作。
So if I want I can show you again how to write.

因此,要写一个 addy,您必须首先定义您正在使用哪个博客。
So to write an addy you have to first define that which blog you are using.

我会写B。
I would write B.

所以你会找到你的障碍。
So you will find your blocks.

好的,如果我使用 Arey,我会找到我刚才制作的博客,我想使用块来阻止一次单击,然后编辑它会显示您自动单击一次,然后它将显示您要复制的索引。
Ok if I use Arey I will find my blog which I made just now I want to use block to block one click once then edit it will show you automatically click once again then it will show you which index you want to copy.

所以我想复制第二个并选择这里。
So I want to copy the second one and select here.

这就是为每个块提供输入的方式。
So this is how you give the input to your every block.

好的。
OK.

这也是在块中给出输出的方式。
That's how you give the output at a block as well.

所以让我们现在下载这个并看看节点发生了什么。
So let's download this now and see what's happening node.

所以它已加载,但我想要。
So it's loaded but I'm wanting to.

好的。
OK.

那么我们首先来看看计时器中发生了什么。
So let's find what's going on in the timer first.

如果你在这里看到这是关闭的,这是打开的,在采取一切措施后,它会被重置,因为有证据表明,打开一段时间确实会被重置,并且它会再次接近并关闭。
If you see here this is closed and this is on and after everything taken it gets reset because of the evidencing this get open for a while does get reset and it get closer and close again.

所以它是如此之快,你在这里得到了很多,所以它会自行重置。
So it's so fast you get a lot of that here so it's getting reset by itself.

同样,我们每 10 秒就会得到一次脉搏。
And similarly We're getting a pulse here after every 10 seconds.

你无法直观地看到这一点,因为它太快了,但我们被要求提供逻辑。
You cannot visually see that because it's so fast but we're getting asked for the logic.

现在让我们监视数据是如何复制的。
Right now let's monitor how the data is being copied.

因此,为了进行监控,我们去观察大卫。
So for monitoring we go to watch David.

这是我的手表,我可以在其中输入我的 ID 值。
This is my watch where I can put my ID values.

假设我将附加值从 1 开始,因为我的副本从 2 5 个元素开始到 6 2 3 4 2 6 副本 2 2 2 5 可以从 5 到 9。
So let's say I am putting my added value starting from 1 because my copy is starting from 2 5 elements up to 6 2 3 4 2 6 copy 2 2 2 5 ok from 5 to 9.

如果您注意到较小的 156 四千五百三十四,则有五个值。
If you notice the smaller 156 forty five hundred and thirty four there's five values.

这五个值复制到此处。
These five values are copied here.

好的。
OK.

到目前为止,我已经复制到这里的这五个值很容易理解,我正在移动其他块。
These five values I've copied here so far understanding easily I'm moving the other blocks.

没有人能理解。
Nobody can understand.

那么让我们从这里开始观察太空。
So let's move from here look in space.

所以这五个值是从二到六五到十五到九实际上不是十复制到这里的。
So these five values are copied here starting from two to six five to 10 five to nine actually not ten.

好吧,让我改变这个值。
All right so let me just change the value.

在这里我想显示我的计时器,所以现在是什么时间。
And here I want to display my timer so it what time.

我想一直展现出真正完美的东西。
I want to display all the time that is really perfect.

在这里你可以看到那个时间。
And here you can see that time OK.

因此,如果每隔五秒您就会看到我一直在使用的值,那么我将更改现在报告一百年,也许十三十四或五年的值,并详细阅读给他们听。
So if every five seconds you will see the values I've been on so I'm going to change the value now reporting a hundred maybe ten thirty four or five years and read to them in detail.

好的。
OK.

现在我要量化我的 addy 的价值,我可以通过在修改列中写入值然后按一次来实现。
Now for a moment I'm going to quantify the value of my addy which I can do by writing the values in the modify column and then pressing this once.

如果我也看一次很好的价值,现在这个并复制这些值在这里,这些值将在每五秒后复制到这里,每十秒是同样的事情二聚体。
If I also look good value once and now this and copy these value here and these value will be copied here after every five seconds every ten seconds is the same thing dimer.

所以我现在要复制。
So I'm going to copy now.

所以这个就复制到这里了。
So this is copied here.

现在您会注意到,当时间达到 10 秒时,系统会自动复制到此处的 8 9 和 10。
Now you will notice when this goes to 10 seconds for the automatic automatically copied here eight nine and 10.

所以这个更新了。
So this is updated.

因此,如果此值稍后发生变化,您可能会通过某种进程知道如何在几秒钟内自动更新。
So if this values change later how you know maybe by some process that will be updated automatically offered in seconds.

它的价值改变了这里的场景,在我读完并认为这将放在这里并更新后。
What its value changed scenes here and after I read and thinking this will be up here and this is updated.

这只是一个基本示例,说明如何每小时每 10 秒更新新区块中的值。
So that's just a basic example how you can update the value in your new block every hour for every 10 seconds in the world.

您可以更改时间,也可以将其设置为一秒一秒,或者如果您没有在此处输入任何时间,该时间将自动复制到此处。
You can change the time and you can make it to second one second or if you don't put any time here that's going to be automatically copied here.

如果使用按钮符号。
If you use a symbol of a button.

所以这是你想要复制该值的条件。
So this is a condition in which condition you want to copy the value.

这只是一个基本示例。
This was just a basic example.

这就是关于移动指令或我们今天学到的用于将数据从源复制到目标的移动指令的内容。
So this was all about the move instructions or what did we learn today move instruction to use to copy data from source to destination.

大多数博主习惯使用 addy 的填充部分从源和目标复制块中的数据,用于用源填充目标块,而交换指令则使用或交换数据存储系统中的数据。
Most bloggers used to copy the data in blocks from source and destination using addy's fill in section is used to fill the destination block with source and swap instructions is use or swap the data in data memory system.

好的。
All right.

如果您有任何疑问,可以将它们放入。
If you have any doubt you can put them.

感谢您的观看。
Thank you for watching.

您可以在课程中为国家获取一份副本。
You can get a copy of this for the nation in the course.

我们下次见。
I'll see you in the next.